package com.lds.erp.order;


import com.lds.erp.order.cart.order.*;
import com.lds.erp.order.cart.result.*;

/**
 * @author liuli
 * @apiNote
 * @date 2019/1/23 10:26 AM
 */
public interface OrderCartClient {

    /**
     * 获取购物车详情
     * @param order
     * @return
     */
    OrderCartDetailResult orderCartDetail(OrderCartDetailOrder order);


    /**
     * 修改购物车
     * @param order
     * @return
     */
    OrderCartUpAndDownResult orderCartUpAndDown(OrderCartUpAndDownOrder order);

    /**
     * 清空购物车
     * @param order
     * @return
     */
    OrderCartDeleteResult orderCartDelete(OrderCartDeleteOrder order);


    /**
     *  单个商品购物车信息
     * @param order
     * @return
     */
    OrderCartProductDetailResult orderCartProductDetailBySsuCode(OrderCartProductDetailOrder order);

    /**
     * 购物车商品总数
     * @param order
     * @return
     */
    OrderCartNumResult orderCartNum(OrderCartNumOrder order);

    /**
     * 购物车去结算
     * @param order
     * @return
     */
    QueryOrderCartResult queryOrderCart(QueryOrderCartOrder order);

    /**
     * 收银台请求参数
     * @param order
     * @return
     */
    QueryOrderCashierResult queryOrderCashier(QueryOrderCashierOrder order);

    /**
     * 再次支付
     * @param order
     * @return
     */
    QueryPayAgainCashierResult queryPayAgainCashier(QueryPayAgainCashierOrder order);




}
